package com.zhao.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhao.mapper.OrderMapper;
import com.zhao.pojo.Orders;
import com.zhao.service.OrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Orders> implements OrdersService {
    @Autowired
    OrderMapper orderMapper;
    @Override
    public String queryDayBetweenDaySumPrice(Integer userId, String startDay, String endDay) {
        return orderMapper.queryDayBetweenDaySumPrice(userId,startDay,endDay);
    }
}
